<template>
  <div class="home">home---{{channel_id}}
    <channel v-model="channel_id"></channel>
  </div>
</template>

<script>
export default {
  name: 'home',
  data () {
    return {
      channel_id: 2
    }
  },
  methods: {
  //   fn (e) {
  //     this.channel_id = e
  //   }
  }
}
</script>

<style lang='less' scoped>
  .home {
    width: 100%;
    height: 100%;
    background: url('./2.jpg') no-repeat;
    background-size: cover;
  }
</style>
